/**
 * 
 */
package us.gaaoc.framework.model.util;

import java.util.List;

import us.gaaoc.framework.businessmodel.Filing;

/**
 * @author Sukahda Tapshalkar
 * Jul 30, 2007
 * @param <T>
 *
 */
public abstract class  SortableDataModel<T> extends SortableList{

		
	/**
	 * @param defaultSortColumn
	 */
	protected SortableDataModel(String defaultSortColumn, List<T> filingList) {
		super(defaultSortColumn, filingList);
	}

	/* (non-Javadoc)
	 * @see us.gaaoc.framework.model.util.SortableList#isDefaultAscending(java.lang.String)
	 */
	@Override
	protected boolean isDefaultAscending(String sortColumn) {
		return true;
	}
	/* (non-Javadoc)
	 * @see us.gaaoc.framework.model.util.SortableList#sort(java.lang.String, boolean)
	 */
	@Override
	protected  abstract void sort(final String column, final boolean ascending,  final List filingList);
		
}
